package day15_Thread.demo04_Thread;
//void sleep(long millis)	使当前正在执行的线程暂停指定的毫秒数
public class Test {
    public static void main(String[] args) throws Exception{
        MyThread tz = new MyThread("兔子");
        MyThread1 wg = new MyThread1("乌龟");
        tz.setPriority(10);
        wg.setPriority(1);
        tz.start();
        wg.start();
    }
}
